package com.yun.zf.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.domain.SysUserOrder;
import com.yun.zf.common.app.dto.center.OrderListDto;

import java.util.List;

/**
 * <p>
 * 用户订单合同关系表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-08-18
 */
public interface SysUserOrderService extends IService<SysUserOrder> {

    /**
     * 获取我的订单
     * @param userId
     * @return
     */
    List<OrderListDto> getMyOrder(Long userId);

    public int myPact(Long userId);
}
